export interface FormModel {
  [key: string]: any
}

export interface FormFieldAttrs {
  [key: string]: any
}

export interface FormFieldEvents {
  [key: string]: Function
}

export interface FormField {
  prop: string
  label: string | null | undefined
  rules: Array<object> | null | undefined
  hide: boolean | null | undefined
  type: string
  attrs: FormFieldAttrs | null | undefined
  events: FormFieldEvents | null | undefined
  slot: object | null | undefined
}

export interface GroupOption {
  [key: string]: any
}
